﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace Win7RovMobileApp
{
    public partial class InvoiceDetails : PhoneApplicationPage
    {
        public InvoiceDetails()
        {
            InitializeComponent();
            DataContext = App.UserPreferences;
            Height = 768; Width = 480;
        }


        private void GotoCardDetails_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/Menus/ConfirmationScreen.xaml", UriKind.Relative));
        }


        private void SetCardType(object sender, SelectionChangedEventArgs e)
        {
            App.UserPreferences.CardType = ((sender as ListPicker).SelectedItem as ListPickerItem).Content as String;
        }
    }
}